import { catelist, actlist } from "@/api/equipment/cate";
import store from "@/utils/store/cache"
// 设备类别管理
export const actions = {
    //  类别事件列表
    actlist(context: any, params: any) {
        return actlist(params)
    },
       //  类别列表
    catelist(context: any, isReLoad = false) {
        store.loadCacheDataByFun(context, 'catelist', catelist, null, { isReLoad });
    }
}
